import { defineStore } from "pinia";
import { UseDataBrowserInstance, useDataBrowserInstance } from "@/hooks";

export const useDataBrowseStore = defineStore("data-browser", () => {
  // 暂时只显示一个
  const tabs = shallowRef([]) as Ref<Array<UseDataBrowserInstance>>;
  const self = useDataBrowserInstance();
  tabs.value.push(self);
  return {
    tabs
  };
});
